package com.twu.biblioteca.Actions;

import com.twu.biblioteca.Interfaces.MenuItems;
import com.twu.biblioteca.Models.MovieCollection;

import java.io.IOException;

public class AllMovieLister implements MenuItems
{
    private MovieCollection movieCollection;

    public AllMovieLister(MovieCollection movieCollection)
    {
        this.movieCollection = movieCollection;
    }
    @Override
    public void takeAction() throws IOException
    {
        movieCollection.displayMovieList();
    }
}
